﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SUniquePanelInfo extends Object
    {
        public var successPlayer:SMiniPlayer;
        public var copyCode:int;
        public var isDead:Boolean;
        public var isOpen:Boolean;
        public var nextCdSeconds:int;
        public var nextSecondForYou:int;

        public function SUniquePanelInfo()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            this.successPlayer.__write(param1);
            param1.writeInt(this.copyCode);
            param1.writeBool(this.isDead);
            param1.writeBool(this.isOpen);
            param1.writeInt(this.nextCdSeconds);
            param1.writeInt(this.nextSecondForYou);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.successPlayer = new SMiniPlayer();
            this.successPlayer.__read(param1);
            this.copyCode = param1.readInt();
            this.isDead = param1.readBool();
            this.isOpen = param1.readBool();
            this.nextCdSeconds = param1.readInt();
            this.nextSecondForYou = param1.readInt();
            return;
        }// end function

    }
}
